package com.example.shop_addres.mapper;

import com.example.shop_addres.entity.ShopAddress;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ShopMapper {
    //新增账号
    public int insertShopAddress(ShopAddress shopAddress);
    //根据用户名查询账号信息
    public ShopAddress getShopAddressByMobile(String mobile);
    //修改地址
    public int update(String mobile, String address);
    //根据手机号删除地址
    public int delete(String mobile);

}
